package cn.wen.eeayjoke.presenter;

import cn.wen.eeayjoke.entity.bean.base.ResponseBean;
import cn.wen.eeayjoke.entity.bean.home.AdvertisementsBean;
import io.reactivex.Observable;
import io.reactivex.Observer;

/**
 * 启动页面 活动图片
 */

public class SplashPresenter extends BasePresenter {
    /**
     * 启动页面 活动图片
     */
    public void adsListForGroupId(Observer<AdvertisementsBean> observer) {
        Observable<ResponseBean<AdvertisementsBean>> observable = mApi.adsListForGroupId(createRequestBody());
        convert(observable, observer);
    }
}
